package com.xx.springboot.repositry;

import com.xx.springboot.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by xiaoxiunique on 2018-8-4.
 */
public interface StudentRepositry extends JpaRepository<Student, Integer> {
    /**
     * 获取得到所有 学生数据
     * @return
     */
    @Override
    List<Student> findAll();
}
